Character ScaleX

Gets or sets the scaling in the X axis direction. ScaleX adjusts the horizontal scale to increase or decrease the width of a character without changing the font size.

public float ScaleX {get;Set}

 

Return value

float Scaling applied on the shape

 

Example

Copy
TextShape text = new TextShape();

Character character = new Character();
character.CharacterUnicode = 'A';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;

character.ScaleX = 2;
character.ScaleY = 2;

text.Characters.Add(character);